package com.ruoyi.gcgl.mapper;

import java.util.List;
import com.ruoyi.gcgl.domain.YyProjectMilestone;

/**
 * 项目里程碑Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public interface YyProjectMilestoneMapper 
{
    /**
     * 查询项目里程碑
     * 
     * @param id 项目里程碑主键
     * @return 项目里程碑
     */
    public YyProjectMilestone selectSjProjectMilestoneById(Long id);

    /**
     * 查询项目里程碑列表
     * 
     * @param sjProjectMilestone 项目里程碑
     * @return 项目里程碑集合
     */
    public List<YyProjectMilestone> selectSjProjectMilestoneList(YyProjectMilestone sjProjectMilestone);

    /**
     * 新增项目里程碑
     * 
     * @param sjProjectMilestone 项目里程碑
     * @return 结果
     */
    public int insertSjProjectMilestone(YyProjectMilestone sjProjectMilestone);

    /**
     * 修改项目里程碑
     * 
     * @param sjProjectMilestone 项目里程碑
     * @return 结果
     */
    public int updateSjProjectMilestone(YyProjectMilestone sjProjectMilestone);

    /**
     * 删除项目里程碑
     * 
     * @param id 项目里程碑主键
     * @return 结果
     */
    public int deleteSjProjectMilestoneById(Long id);

    /**
     * 批量删除项目里程碑
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSjProjectMilestoneByIds(String[] ids);
}
